<?php
/**
 * This file belongs to huakaili project
 *
 * @author jszhang
 */
?>


  	  <div class="right_bar">
  	  
  	  	<?php
		if( $errmsg->size('account_info') > 0 ) $errmsg->output('account_info');
		?>
	
            	<div class="orange_box">
                	
                    <div class="orange_middle">
                    	<div class="orange_title">
                        	<h1>账户信息</h1>                  
                                <p><img src="<?php echo IMAGE_DIR; ?>warn.png" /> 请务必保正账户信息的真实性和可靠性。任何活动的反馈和奖励，店铺和商品的推荐，促销信息，我们将通过账户信息的内容与您取得联系。</p>
                        </div>
                        
                    </div>
					<div class="accountInfo_box">
						<form id="accountInfoForm" method="POST" action="<?php echo edp_href_link( PAGENAME_USER_SETTING, 'subpage=account_info')?>">
						<input type="hidden" id="action" name="action" value="account_info" >
						<input type="hidden" id="id" name="id" value="<?php echoPageVar($pageVars, "id");?>" >
						<input type="hidden" id="orignalEmail" value="<?php echoPageVar($pageVars, "email");?>" >
                    	<div class="accountInfo_item">
                        	<dd><label>Email</label>
                        	    <span id="emaillabel"><?php echoPageVar($pageVars, "email");?></span>
                        	    <span id="emailinput" style="display:none">
								 <input type="text" id="email" name="email" value="<?php echoPageVar($pageVars, "email");?>"  disabled="disabled" style="width:200px"/>                        	    
                        	    </span>                        	    																	
                        	    <span><a href="#" id="changeemail">修改</a></span>
                        	</dd>
                             
							 <dd><label>登录密码</label>
							 	<span id="pwdlabel">******</span>
							 	<span><a href="#" id="changepwd">修改</a></span>		
							 	
							 <!-- 	<span id="pwdinput" style="display:none">

						 		
									老的密码 <input type="password" id="oldpwd" name="oldpwd" disabled="disabled" /><br>
									新的密码 <input type="password" id="newpwd" name="newpwd" /><br>
									确认密码 <input type="password" id="newpwdagain" name="newpwdagain" /><br>
					   
								</span>		 -->
				 	
							</dd>
						    <dd id="pwdinput" style="display:none"><span>老的密码</span><input type="password" id="oldpwd" name="oldpwd" disabled="disabled" /></dd>
						
						    <dd id="pwdinput1" style="display:none"><span>新的密码</span><input type="password" id="newpwd" name="newpwd" /></dd>
						
						    <dd id="pwdinput2" style="display:none"><span>确认新密码</span><input type="password" id="newpwdagain" name="newpwdagain" /></dd>												 				
												 
							 <dd><label>姓名</label><input type="text" name="name" value="<?php echoPageVar($pageVars, "name");?>" /></dd>
							 
							 <dd><label>地址</label><input type="text" name="address" value="<?php echoPageVar($pageVars, "address");?>"  style="width:450px"  /></dd>
							 
							 <dd><label>邮编</label><input type="text" name="zip" value="<?php echoPageVar($pageVars, "zip");?>" style="width:50px" /></dd>							   
							 
							 <dd><label>联系电话</label><input type="text" name="phone"  value="<?php echoPageVar($pageVars, "phone");?>"  /><span style="color:grey">如：010-62778572</span></dd>	
							 
							 <dt><input value="提交" type="submit" class="pagesubmit" /></dt>
						</div>
                     </form>
                    </div>                         
                  
                </div>
            	
              
            </div>
        









